import { useContext } from "react";
import { AnomalyContext } from "../../../context/AnomalyContext";

const useAnomaly = () => {
  const anomalyContext = useContext(AnomalyContext);
  return anomalyContext;
};

export default useAnomaly;
